#ifndef _Card
#define _Card

#include <QApplication>
#include <QtGui>
#include <QDomDocument>
#include <QDomElement>

#include <iostream>
#include <sstream>
#include <string>
#include <map>

class Card
{
 int numero;
 QString libelle;
 QString imgPath;

 QChar cardColor;
 QChar cardName;

 public :
  Card();
  Card(int n, QString lib, QString cimg, QChar coul, QChar cardName);
  Card(const Card & card);
  Card & operator = (const Card & card);

  // Getter
  int getNumero();
  QString getLibelle();
  QString getImgPath();
  QChar getCardName();
  QChar getCardName()const;
  QChar getCardColor();

  // Setter
  void setNumero(int num);
  void setLibelle(QString _libelle);
  void setImgPath(QString _imgPath);
  void setCardName(QChar _cardName);
  void setCardColor(QChar _cardColor);

  QString toString();
  QDomElement toXml(QDomDocument doc);
};

#endif
